package com.example.mybatisplusdemo.service.impl;



import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.mybatisplusdemo.domain.DemoUser;
import com.example.mybatisplusdemo.mapper.DemoUserMapper;
import com.example.mybatisplusdemo.service.DemoUserService;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName TestUserServiceImpl
 * @Description TODO
 * @Author zhangrenhao
 * @Date 2024/7/30 15:21
 */
@Service
@AllArgsConstructor
public class DemoUserServiceImpl extends ServiceImpl<DemoUserMapper, DemoUser> implements DemoUserService {

    private DemoUserMapper demoUserMapper;

    @Override
    public List<DemoUser> getUsers() {
        return demoUserMapper.findByUserName("");
    }
}
